package cn.ekuma.security.impl;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;
import cn.ekuma.security.bean.I_ChildPermission;

public class ChildPermission implements I_ChildPermission,I_AutoGeneratorStringKey, I_ModifiedLogBean<String> {

	String parentSecurityName;
	String baseSecurityName;
	private String id;
	private Date lastModified;
	
	@Override
	public String getParentSecurityName() {
		return parentSecurityName;
	}

	@Override
	public String getBaseSecurityName() {
		return baseSecurityName;
	}
	
	
	@Override
	public String getKey() {
		return id;
	}

	public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

	@Override
	public void setKey(String key) {
		this.id=key;
		
	}

	@Override
	public Date getLastModified() {
		return lastModified;
	}

	public void setBaseSecurityName(String string) {
		baseSecurityName=string;	
	}

	public void setParentSecurityName(String string) {
		parentSecurityName=string;
	}

}
